

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>用户手册 &mdash; Singularity container 3.5 documentation</title>
  

  
  
    <link rel="shortcut icon" href="_static/favicon.png"/>
  
  
  

  
  <script type="text/javascript" src="_static/js/modernizr.min.js"></script>
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
        <script src="_static/jquery.js"></script>
        <script src="_static/underscore.js"></script>
        <script src="_static/doctools.js"></script>
        <script src="_static/language_data.js"></script>
        <script src="_static/js/ga.js"></script>
    
    <script type="text/javascript" src="_static/js/theme.js"></script>

    

  
  <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Singularity介绍" href="introduction.html" /> 
</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="#" class="icon icon-home"> Singularity container
          

          
            
            <img src="_static/logo.png" class="logo" alt="Logo"/>
          
          </a>

          
            
            
              <div class="version">
                3.5
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul>
<li class="toctree-l1"><a class="reference internal" href="introduction.html">介绍</a></li>
<li class="toctree-l1"><a class="reference internal" href="quick_start.html">快速入门</a></li>
<li class="toctree-l1"><a class="reference internal" href="security.html">Singularity安全</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="build_a_container.html">Build容器</a></li>
<li class="toctree-l1"><a class="reference internal" href="definition_files.html">Definition文件</a></li>
<li class="toctree-l1"><a class="reference internal" href="build_env.html">Build环境</a></li>
<li class="toctree-l1"><a class="reference internal" href="singularity_and_docker.html">Singularity和Docker</a></li>
<li class="toctree-l1"><a class="reference internal" href="fakeroot.html">Fakeroot</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="signNverify.html">签名和认证</a></li>
<li class="toctree-l1"><a class="reference internal" href="key_commands.html">Key管理</a></li>
<li class="toctree-l1"><a class="reference internal" href="encryption.html">容器加密</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="endpoint.html">容器仓库</a></li>
<li class="toctree-l1"><a class="reference internal" href="cloud_library.html">Cloud Library</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="bind_paths_and_mounts.html">路径映射</a></li>
<li class="toctree-l1"><a class="reference internal" href="persistent_overlays.html">持久化Overlay</a></li>
<li class="toctree-l1"><a class="reference internal" href="running_services.html">运行服务</a></li>
<li class="toctree-l1"><a class="reference internal" href="environment_and_metadata.html">环境变量和元数据</a></li>
<li class="toctree-l1"><a class="reference internal" href="oci_runtime.html">OCI运行时</a></li>
<li class="toctree-l1"><a class="reference internal" href="plugins.html">插件</a></li>
<li class="toctree-l1"><a class="reference internal" href="security_options.html">安全选项</a></li>
<li class="toctree-l1"><a class="reference internal" href="networking.html">网络选项</a></li>
<li class="toctree-l1"><a class="reference internal" href="cgroups.html">Cgroups</a></li>
<li class="toctree-l1"><a class="reference internal" href="mpi.html">MPI应用</a></li>
<li class="toctree-l1"><a class="reference internal" href="gpu.html">GPU支持</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="appendix.html">Appendix</a></li>
<li class="toctree-l1"><a class="reference internal" href="cli.html">Command Line Reference</a></li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="#">Singularity container</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content style-external-links">
        
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="#">Docs</a> &raquo;</li>
        
      <li>用户手册</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            
              <a href="https://github.com/sylabs/singularity-userdocs/blob/master/index.rst" class="fa fa-github"> Edit on GitHub</a>
            
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="id1">
<h1>用户手册<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
<p>这是Singularity的用户手册。</p>
<p>用户手册主要介绍了Singularity简单的安装指导，以及怎么build和运行容器。
更详细的关于Singularity安装和配置，请参考管理员手册
<a class="reference external" href="https://sylabs.io/guides/3.5/admin-guide/">https://sylabs.io/guides/3.5/admin-guide/</a>.</p>
<div class="section" id="getting-started-background-information">
<h2>Getting Started &amp; Background Information<a class="headerlink" href="#getting-started-background-information" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="introduction.html">介绍</a><ul>
<li class="toctree-l2"><a class="reference internal" href="introduction.html#id1">为什么用Singularity</a></li>
<li class="toctree-l2"><a class="reference internal" href="introduction.html#id2">为什么使用容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="introduction.html#id3">使用场景</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="quick_start.html">快速入门</a><ul>
<li class="toctree-l2"><a class="reference internal" href="quick_start.html#quick-installation">快速安装步骤</a></li>
<li class="toctree-l2"><a class="reference internal" href="quick_start.html#id7">Singularity命令概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="quick_start.html#build">下载build好的容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="quick_start.html#cowimage">交互访问容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="quick_start.html#host">访问Host文件</a></li>
<li class="toctree-l2"><a class="reference internal" href="quick_start.html#build-images-from-scratch">从零开始build容器</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="security.html">Singularity安全</a><ul>
<li class="toctree-l2"><a class="reference internal" href="security.html#id1">安全策略</a></li>
<li class="toctree-l2"><a class="reference internal" href="security.html#singularity-pro">Singularity PRO - 长期支持 &amp; 安全补丁</a></li>
<li class="toctree-l2"><a class="reference internal" href="security.html#id2">Singularity 运行时 &amp; 用户特权</a></li>
<li class="toctree-l2"><a class="reference internal" href="security.html#singularity-image-format-sif">Singularity Image Format (SIF)</a></li>
<li class="toctree-l2"><a class="reference internal" href="security.html#id3">管理员可配置文件</a></li>
<li class="toctree-l2"><a class="reference internal" href="security.html#sylabs-cloud">Sylabs Cloud的安全性</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="building-containers">
<h2>Building Containers<a class="headerlink" href="#building-containers" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="build_a_container.html">Build容器</a><ul>
<li class="toctree-l2"><a class="reference internal" href="build_a_container.html#id1">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_a_container.html#id2">从Container Library下载容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_a_container.html#id3">从Docker Hub下载容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_a_container.html#sandbox">创建可写的 <code class="docutils literal notranslate"><span class="pre">--sandbox</span></code> 目录</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_a_container.html#id4">容器格式的转换</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_a_container.html#singularity-definitionbuild">使用Singularity definition文件build容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_a_container.html#id5">build加密容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_a_container.html#id6">Build命令选项</a><ul>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#builder"><code class="docutils literal notranslate"><span class="pre">--builder</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#detached"><code class="docutils literal notranslate"><span class="pre">--detached</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#encrypt"><code class="docutils literal notranslate"><span class="pre">--encrypt</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#fakeroot"><code class="docutils literal notranslate"><span class="pre">--fakeroot</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#force"><code class="docutils literal notranslate"><span class="pre">--force</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#json"><code class="docutils literal notranslate"><span class="pre">--json</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#library"><code class="docutils literal notranslate"><span class="pre">--library</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#notest"><code class="docutils literal notranslate"><span class="pre">--notest</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#passphrase"><code class="docutils literal notranslate"><span class="pre">--passphrase</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#pem-path"><code class="docutils literal notranslate"><span class="pre">--pem-path</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#remote"><code class="docutils literal notranslate"><span class="pre">--remote</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#id7"><code class="docutils literal notranslate"><span class="pre">--sandbox</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#section"><code class="docutils literal notranslate"><span class="pre">--section</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="build_a_container.html#update"><code class="docutils literal notranslate"><span class="pre">--update</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="build_a_container.html#id8">关于容器的其它主题</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="definition_files.html">Definition文件</a><ul>
<li class="toctree-l2"><a class="reference internal" href="definition_files.html#id1">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="definition_files.html#header">Header</a><ul>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#bootstrap-agents">常用的bootstrap agents</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#id4">其它bootstrap agents</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="definition_files.html#sections">Sections</a><ul>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#setup">%setup</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#files">%files</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#app">%app*</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#post">%post</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#test">%test</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#environment">%environment</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#startscript">%startscript</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#runscript">%runscript</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#labels">%labels</a></li>
<li class="toctree-l3"><a class="reference internal" href="definition_files.html#help">%help</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="definition_files.html#build">多阶段Build</a></li>
<li class="toctree-l2"><a class="reference internal" href="definition_files.html#apps">Apps</a></li>
<li class="toctree-l2"><a class="reference internal" href="definition_files.html#id8">build容器的一些建议</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="build_env.html">Build环境</a><ul>
<li class="toctree-l2"><a class="reference internal" href="build_env.html#sec-buildenv">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_env.html#cache">Cache目录</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_env.html#id2">Cache命令</a><ul>
<li class="toctree-l3"><a class="reference internal" href="build_env.html#id3">列出Cache</a></li>
<li class="toctree-l3"><a class="reference internal" href="build_env.html#id4">清除Cache</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="build_env.html#id5">临时目录</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_env.html#pull">Pull目录</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_env.html#id6">加密容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="build_env.html#id7">环境变量</a><ul>
<li class="toctree-l3"><a class="reference internal" href="build_env.html#id8">默认值</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="singularity_and_docker.html">Singularity和Docker</a><ul>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#id1">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#sec-action-commands-prebuilt-public-docker-images">操作Docker Hub上的公共镜像</a></li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#sec-use-prebuilt-public-docker-images">使用Docker Hub上的公共镜像</a></li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#sec-using-prebuilt-private-images">使用Docker Hub上的私有镜像</a><ul>
<li class="toctree-l3"><a class="reference internal" href="singularity_and_docker.html#sec-authentication-via-docker-login">使用交互登录的方式提供认证</a></li>
<li class="toctree-l3"><a class="reference internal" href="singularity_and_docker.html#sec-authentication-via-environment-variables">通过环境变量提供认证</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#registries">使用私有Registries的私有镜像</a></li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#docker-registriesbuild-singularity">使用Docker Registries来Build SIngularity容器</a><ul>
<li class="toctree-l3"><a class="reference internal" href="singularity_and_docker.html#sec-singularity-build-cli">使用命令行</a></li>
<li class="toctree-l3"><a class="reference internal" href="singularity_and_docker.html#definition">Definition文件</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#oci">OCI镜像</a><ul>
<li class="toctree-l3"><a class="reference internal" href="singularity_and_docker.html#sec-oci-overview">概述</a></li>
<li class="toctree-l3"><a class="reference internal" href="singularity_and_docker.html#ocibuild">从OCI镜像build容器</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#sec-docker-cache">容器缓存</a></li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#sec-best-practices">最佳实践</a></li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#sec-troubleshooting">常见问题</a></li>
<li class="toctree-l2"><a class="reference internal" href="singularity_and_docker.html#singularity-definition-dockerfile">Singularity Definition 文件和Dockerfile的比较</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="fakeroot.html">Fakeroot</a><ul>
<li class="toctree-l2"><a class="reference internal" href="fakeroot.html#id2">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="fakeroot.html#id3">安全性和限制</a><ul>
<li class="toctree-l3"><a class="reference internal" href="fakeroot.html#id4">文件系统</a></li>
<li class="toctree-l3"><a class="reference internal" href="fakeroot.html#id5">网络</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="fakeroot.html#id6">依赖和配置</a></li>
<li class="toctree-l2"><a class="reference internal" href="fakeroot.html#id7">使用</a><ul>
<li class="toctree-l3"><a class="reference internal" href="fakeroot.html#build">Build</a></li>
<li class="toctree-l3"><a class="reference internal" href="fakeroot.html#id8">例子</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="signing-encryption">
<h2>Signing &amp; Encryption<a class="headerlink" href="#signing-encryption" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="signNverify.html">签名和认证</a><ul>
<li class="toctree-l2"><a class="reference internal" href="signNverify.html#container-library">验证Container Library容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="signNverify.html#sign-your-own-containers">签名你的容器</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="key_commands.html">Key管理</a><ul>
<li class="toctree-l2"><a class="reference internal" href="key_commands.html#key-import">导入key</a></li>
<li class="toctree-l2"><a class="reference internal" href="key_commands.html#key-export">导出key</a></li>
<li class="toctree-l2"><a class="reference internal" href="key_commands.html#key-remove">删除key</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="encryption.html">容器加密</a><ul>
<li class="toctree-l2"><a class="reference internal" href="encryption.html#id2">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="encryption.html#id3">加密一个容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="encryption.html#id9">运行一个加密的容器</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="sharing-online-services">
<h2>Sharing &amp; Online Services<a class="headerlink" href="#sharing-online-services" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="endpoint.html">容器仓库</a><ul>
<li class="toctree-l2"><a class="reference internal" href="endpoint.html#id2">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="endpoint.html#id6">Sylabs Cloud</a></li>
<li class="toctree-l2"><a class="reference internal" href="endpoint.html#id7">管理容器仓库</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="cloud_library.html">Cloud Library</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cloud_library.html#id2">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_library.html#make-a-account">创建一个账号</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_library.html#access-token">创建access token</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_library.html#push">Push容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_library.html#pull">Pull容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_library.html#verify-sign">Verify/Sign容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_library.html#search">Search容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_library.html#remote-builder">Remote Builder</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="advanced-usage">
<h2>Advanced Usage<a class="headerlink" href="#advanced-usage" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="bind_paths_and_mounts.html">路径映射</a><ul>
<li class="toctree-l2"><a class="reference internal" href="bind_paths_and_mounts.html#id2">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="bind_paths_and_mounts.html#id3">系统定义的映射路径</a></li>
<li class="toctree-l2"><a class="reference internal" href="bind_paths_and_mounts.html#id4">用户定义的映射路径</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="persistent_overlays.html">持久化Overlay</a><ul>
<li class="toctree-l2"><a class="reference internal" href="persistent_overlays.html#id1">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="persistent_overlays.html#usage">Usage</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="running_services.html">运行服务</a><ul>
<li class="toctree-l2"><a class="reference internal" href="running_services.html#id2">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="running_services.html#instance">容器Instance</a></li>
<li class="toctree-l2"><a class="reference internal" href="running_services.html#nginx-hello-world">Nginx “Hello-world”</a></li>
<li class="toctree-l2"><a class="reference internal" href="running_services.html#id3">一个完整的例子</a></li>
<li class="toctree-l2"><a class="reference internal" href="running_services.html#system-integration-pid-files">System integration / PID files</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="environment_and_metadata.html">环境变量和元数据</a><ul>
<li class="toctree-l2"><a class="reference internal" href="environment_and_metadata.html#id2">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="environment_and_metadata.html#id3">环境变量</a></li>
<li class="toctree-l2"><a class="reference internal" href="environment_and_metadata.html#labels">Labels</a></li>
<li class="toctree-l2"><a class="reference internal" href="environment_and_metadata.html#inspect"><code class="docutils literal notranslate"><span class="pre">inspect</span></code> 命令</a></li>
<li class="toctree-l2"><a class="reference internal" href="environment_and_metadata.html#id5">容器元数据</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="oci_runtime.html">OCI运行时</a><ul>
<li class="toctree-l2"><a class="reference internal" href="oci_runtime.html#sec-oci-runtime-overview">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="oci_runtime.html#mounted-oci-bundle">Mounted OCI Bundle</a></li>
<li class="toctree-l2"><a class="reference internal" href="oci_runtime.html#oci">创建OCI容器实例</a></li>
<li class="toctree-l2"><a class="reference internal" href="oci_runtime.html#unmoun-oci-bundle">Unmoun OCI Bundle</a></li>
<li class="toctree-l2"><a class="reference internal" href="oci_runtime.html#kubernetes">和Kubernetes集成</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="plugins.html">插件</a><ul>
<li class="toctree-l2"><a class="reference internal" href="plugins.html#id2">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="plugins.html#id3">使用插件</a></li>
<li class="toctree-l2"><a class="reference internal" href="plugins.html#id4">开发插件</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="security_options.html">安全选项</a><ul>
<li class="toctree-l2"><a class="reference internal" href="security_options.html#linux-capabilities">Linux Capabilities</a></li>
<li class="toctree-l2"><a class="reference internal" href="security_options.html#build">Build加密容器</a></li>
<li class="toctree-l2"><a class="reference internal" href="security_options.html#security">Security相关的选项</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="networking.html">网络选项</a><ul>
<li class="toctree-l2"><a class="reference internal" href="networking.html#dns"><code class="docutils literal notranslate"><span class="pre">--dns</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="networking.html#hostname"><code class="docutils literal notranslate"><span class="pre">--hostname</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="networking.html#net"><code class="docutils literal notranslate"><span class="pre">--net</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="networking.html#network"><code class="docutils literal notranslate"><span class="pre">--network</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="networking.html#network-args"><code class="docutils literal notranslate"><span class="pre">--network-args</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="cgroups.html">Cgroups</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cgroups.html#id2">概述</a></li>
<li class="toctree-l2"><a class="reference internal" href="cgroups.html#id3">举例</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="mpi.html">MPI应用</a><ul>
<li class="toctree-l2"><a class="reference internal" href="mpi.html#hybrid">Hybrid模式</a></li>
<li class="toctree-l2"><a class="reference internal" href="mpi.html#bind">Bind模式</a></li>
<li class="toctree-l2"><a class="reference internal" href="mpi.html#id2">运行</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="gpu.html">GPU支持</a><ul>
<li class="toctree-l2"><a class="reference internal" href="gpu.html#nvidia-gpus-cuda">NVIDIA GPUs &amp; CUDA</a></li>
<li class="toctree-l2"><a class="reference internal" href="gpu.html#amd-gpus-rocm">AMD GPUs &amp; ROCm</a></li>
<li class="toctree-l2"><a class="reference internal" href="gpu.html#opencl">OpenCL应用</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="get-involved">
<h2>Get Involved<a class="headerlink" href="#get-involved" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing</a><ul>
<li class="toctree-l2"><a class="reference internal" href="contributing.html#join-the-community">Join the community</a></li>
<li class="toctree-l2"><a class="reference internal" href="contributing.html#raise-an-issue">Raise an Issue</a></li>
<li class="toctree-l2"><a class="reference internal" href="contributing.html#write-documentation">Write Documentation</a></li>
<li class="toctree-l2"><a class="reference internal" href="contributing.html#contribute-to-the-code">Contribute to the code</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="reference">
<h2>Reference<a class="headerlink" href="#reference" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="appendix.html">Appendix</a><ul>
<li class="toctree-l2"><a class="reference internal" href="appendix.html#singularity-s-environment-variables">Singularity’s environment variables</a></li>
<li class="toctree-l2"><a class="reference internal" href="appendix.html#build-modules">Build Modules</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="cli.html">Command Line Reference</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity.html">singularity</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_build.html">singularity build</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_cache.html">singularity cache</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_cache_clean.html">singularity cache clean</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_cache_list.html">singularity cache list</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_capability.html">singularity capability</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_capability_add.html">singularity capability add</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_capability_avail.html">singularity capability avail</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_capability_drop.html">singularity capability drop</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_capability_list.html">singularity capability list</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_config.html">singularity config</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_config_fakeroot.html">singularity config fakeroot</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_config_global.html">singularity config global</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_delete.html">singularity delete</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_exec.html">singularity exec</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_inspect.html">singularity inspect</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_instance.html">singularity instance</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_instance_list.html">singularity instance list</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_instance_start.html">singularity instance start</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_instance_stop.html">singularity instance stop</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_key.html">singularity key</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_key_export.html">singularity key export</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_key_import.html">singularity key import</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_key_list.html">singularity key list</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_key_newpair.html">singularity key newpair</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_key_pull.html">singularity key pull</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_key_push.html">singularity key push</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_key_remove.html">singularity key remove</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_key_search.html">singularity key search</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci.html">singularity oci</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_attach.html">singularity oci attach</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_create.html">singularity oci create</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_delete.html">singularity oci delete</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_exec.html">singularity oci exec</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_kill.html">singularity oci kill</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_mount.html">singularity oci mount</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_pause.html">singularity oci pause</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_resume.html">singularity oci resume</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_run.html">singularity oci run</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_start.html">singularity oci start</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_state.html">singularity oci state</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_umount.html">singularity oci umount</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_oci_update.html">singularity oci update</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_plugin.html">singularity plugin</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_plugin_compile.html">singularity plugin compile</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_plugin_disable.html">singularity plugin disable</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_plugin_enable.html">singularity plugin enable</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_plugin_inspect.html">singularity plugin inspect</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_plugin_install.html">singularity plugin install</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_plugin_list.html">singularity plugin list</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_plugin_uninstall.html">singularity plugin uninstall</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_pull.html">singularity pull</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_push.html">singularity push</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_remote.html">singularity remote</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_remote_add.html">singularity remote add</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_remote_list.html">singularity remote list</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_remote_login.html">singularity remote login</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_remote_remove.html">singularity remote remove</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_remote_status.html">singularity remote status</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_remote_use.html">singularity remote use</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_run.html">singularity run</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_run-help.html">singularity run-help</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_search.html">singularity search</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_shell.html">singularity shell</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sif.html">singularity sif</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sif_add.html">singularity sif add</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sif_del.html">singularity sif del</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sif_dump.html">singularity sif dump</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sif_header.html">singularity sif header</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sif_info.html">singularity sif info</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sif_list.html">singularity sif list</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sif_new.html">singularity sif new</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sif_setprim.html">singularity sif setprim</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_sign.html">singularity sign</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_test.html">singularity test</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_verify.html">singularity verify</a></li>
<li class="toctree-l2"><a class="reference internal" href="cli/singularity_version.html">singularity version</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>


           </div>
           
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="introduction.html" class="btn btn-neutral float-right" title="Singularity介绍" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
      
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2017-2019, Sylabs Inc

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>